package com.justgame.project.mq;

import com.justgame.project.cloud.common.DataTurbineApplication;
import com.justgame.project.cloud.common.constant.AppConstant;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author ZhouWeiBo
 * @create 2022/5/10
 */
@EnableAsync
@SpringCloudApplication
@ServletComponentScan("com.justgame")
@ComponentScan("com.justgame")
@EnableFeignClients({"com.justgame"})
@EnableCaching
@EnableHystrix
public class MqApplication {
    public static void main(String[] args) {
        DataTurbineApplication.run(AppConstant.MQ,MqApplication.class,args);
    }
}
